# -----------------------------------------------------------------------------
# ffrt EXAMPLES
# -----------------------------------------------------------------------------

set(FFRT_EXAMPLE_PATH ${PROJECT_SOURCE_DIR}/examples)

#add_executable(ffrt_submit ${FFRT_EXAMPLE_PATH}/submit.cpp)
add_executable(ffrt_submit_test ${FFRT_EXAMPLE_PATH}/test.cc)
#add_executable(ffrt_submit_service ${FFRT_EXAMPLE_PATH}/test_service.cc)
add_executable(ffrt_submit_client ${FFRT_EXAMPLE_PATH}/test_client.cc)

set(FFRT_LD_FLAGS "-lffrt")
#target_link_libraries(ffrt_submit ${FFRT_LD_FLAGS})
target_link_libraries(ffrt_submit_test ${FFRT_LD_FLAGS})
#target_link_libraries(ffrt_submit_service ${FFRT_LD_FLAGS})
target_link_libraries(ffrt_submit_client ${FFRT_LD_FLAGS})
